package com.xiaoxx.model.vo.jvm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author :HX
 * @date : 2023/8/16
 */
@Data
@ToString(callSuper = true)
@ApiModel(value = "CpuVO 对象", description = "1、系统--cpu使用信息")
public class CpuVO implements Serializable {
    private static final long serialVersionUID = -6539830698200732287L;
    @ApiModelProperty(notes = "核心数", position = 1)
    private Integer numberOfCores;
    @ApiModelProperty(notes = "用户使用率", position = 2)
    private Double userUtilization;
    @ApiModelProperty(notes = "系统使用率", position = 3)
    private Double systemUtilization;
    @ApiModelProperty(notes = "cpu总使用率", position = 4)
    private Double usageRate;
}